Skip to content

Instantly share code, notes, and snippets.

@pgaubatz
pgaubatz / commafeed.service
Created July 7, 2015 06:45
A systemd service definition file for CommaFeed
[Unit]
Description=A bloat-free feed reader
After=local-fs.target network.target
[Service]
User=www-data
Group=www-data
WorkingDirectory=/opt/commafeed
ExecStart=/usr/bin/java -Djava.net.preferIPv4Stack=true -server -jar commafeed.jar server config.yml
SyslogIdentifier=commafeed

Claude Agent SDK Technical Specification

Version: 1.0.0 Protocol Version: 2024-11-05 Last Updated: 2026-01-10

Table of Contents

  1. Overview
  2. Architecture
@g3rhard
g3rhard / docker-compose.yaml
Created July 10, 2019 06:01
docker-compose for ipsec vpn + pihole + telegram proxy
version: '2'
services:
pihole:
image: pihole/pihole:latest
container_name: pihole
volumes:
- /etc/localtime:/etc/localtime:ro
- /dev/rtc:/dev/rtc:ro
dns:

SSH into AWS ec2/ Digitalocean droplet/ or else other PAAS, linux machine

  1. Install Docker
$sudo apt install docker.io
$sudo usermod -aG docker $USER

I already installed docker

@willurd
willurd / web-servers.md
Last active January 16, 2026 20:39
Big list of http static server one-liners

Each of these commands will run an ad hoc http static server in your current (or specified) directory, available at http://localhost:8000. Use this power wisely.

Discussion on reddit.

Python 2.x

$ python -m SimpleHTTPServer 8000
@balouf
balouf / visjs.ipynb
Created December 2, 2020 07:33
Vis network tutorial
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@TwilightZebby
TwilightZebby / editImagesWithAppsDiscord.md
Last active January 16, 2026 20:31
About the "Discord's Hidden Bots" misinformation

I've been seeing a lot of misinformation so:

Definitions of terms used here

Word Meaning
App A Bot account on Discord, always has the "APP" flair
Server App A Bot account with support to be added to Servers, so all the Server's members can use it
User App A Bot account with support to be added to User accounts, so that User can use its commands in across Servers & DMs/GroupDMs
@huksley
huksley / disabling-photoanalysisd.md
Last active January 16, 2026 20:30
Disabling photoanalysisd

For what it's worth (and with all the usual disclaimers about potentially making your mac unstable by disabling system services), here's some commands that will manipulate this service and services like it. Note the $UID in the command, that's just a bash shell variable that will resolve to some number. That's your numeric UID. You just run these commands from a Terminal command line. No special privileges needed.

If you want to disable it entirely, the first command stops it from respawning, and the second kills the one that is currently running:

launchctl disable gui/$UID/com.apple.photoanalysisd
launchctl kill -TERM gui/$UID/com.apple.photoanalysisd

(If you kill it without disabling it will die, but a new one will respawn and pick up where the old one left off)

@kartva
kartva / optimizing-purdue-cs.md
Last active January 16, 2026 20:28
Optimizing Purdue CS

Important

From Appendix E: Star this document if it was helpful. Your stars and comments are valuable signals to future readers. (It's also validating.)

Note

This document uses special characters like the em-dash (—). These characters were lovingly hand-inserted and not a result of AI-generated text.

Tip

A reader wrote a half-rebuttal/half-complementary document that's double(!) the length of this one. I recommend checking it out after reading this document.

# Шпаргалка по консольным командам Git
## Общее
Git — система контроля версий (файлов). Что-то вроде возможности сохраняться в компьютерных играх (в Git эквивалент игрового сохранения — коммит).
Любой файл в папке существующего репозитория может находиться или не находиться под версионным контролем (отслеживаемые и неотслеживаемые).
Неотслеживаемые файлы можно в любой момент сделать отслеживаемыми и наоборот.